

package com.hazelcast.jet.impl.exception;

import java.io.Serial;
import java.util.concurrent.CancellationException;

/**
 * Thrown as a result of a job that was canceled by the user
 *
 * @since 5.3
 */
public class CancellationByUserException extends CancellationException {

    @Serial
    private static final long serialVersionUID = 1L;

    public CancellationByUserException() {
    }

    public CancellationByUserException(String message) {
        super(message);
    }

    public CancellationByUserException(String message, Throwable cause) {
        super(message);
        initCause(cause);
    }
}
